package br.unifor.ed.tads;

import br.unifor.ed.exceptions.InvalidPositionException;
import br.unifor.ed.exceptions.ListEmptyException;
import br.unifor.ed.exceptions.ListFullException;

public interface IntList {
	public boolean isEmpty ();
	public boolean isFull ();
	public int size ();
	public void addFirst ( int newData ) throws ListFullException;
	public void addLast(int newData ) throws ListFullException;
	public void addAt ( int position, int newData  ) throws ListFullException, InvalidPositionException;
	public int  revomeFirst () throws ListEmptyException;
	public int  removeLast () throws ListEmptyException;
	public int  removeAt ( int position ) throws ListEmptyException, InvalidPositionException;
	public void print () throws ListEmptyException;
}
